<div class="moduleTitle">
	<h3><span>News</span></h3>
</div>
<div class="jbmoduleBody">
<?php
	$textlengh = 450;
	$news_query ="SELECT * FROM tbl_news";
	$result = mysql_query("$news_query");
	if(mysql_num_rows($result) > 0)
	{
		while($rows = mysql_fetch_assoc($result))
		{
			extract($rows);
?>
<!--Show Product List -->

                <div class="features">
                    <h2><a href="index.php?mod=news&amp;act=ndetail&amp;id=<?php echo $id; ?>"><?php echo $news_title; ?></a></h2>
                    <p><a href="index.php?mod=news&amp;act=ndetail&amp;id=<?php echo $id; ?>">
                    <img class="floatleft border" src="<?php echo $news_img; ?>" border="0" alt="ipadicon" width="80" height="80">
                    </a>
                        <?php 
							echo mb_substr(strip_tags($news_detail), 0, $textlengh, 'UTF-8');
							echo "...";
						?>
                    </p>
                    <div class="zenmore">
                    	<a href="index.php?mod=news&amp;act=ndetail&amp;id=<?php echo $id; ?>"><span class="readon">More ...</span></a>
                    </div>
                </div>

<?php
		}
	}
	else
	{
		echo "error";
	}
?>				
</div>